
<link href="/Public/Home/css/member.css" rel="stylesheet" type="text/css" media="screen" />
{include file='../Public/header.tpl'}
<div class="content">
	<div class="menu">当前位置: <span><a href=".">首页</a> <code>&gt;</code> 用户中心</span></div>	
	<div class="user">

		<div class="usernav">
	<dl>
		<dt><span>　</span>帐户管理</dt>
		<dd class="ddor">
			<a href="/index.php/Home/Member/order_list">我的订单</a>
		</dd>
		<dd >

			<a href="/index.php/Home/Member/message_list">我的留言</a>
		</dd>
		<dd>
			<a href="/index.php/Home/Member/collection_list">我的收藏</a>
		</dd>
	</dl>
	<dl>
		<dt><span>　</span>个人信息管理</dt>

		<dd >
			<a href="/index.php/Home/Member/profile">用户信息</a>
		</dd>
		<dd >
			<a href="/index.php/Home/Member/editpwd">修改密码</a>
		</dd>
		<dd >
			<a href="/index.php/Home/Member/address_list">收货地址</a>

		</dd>
	</dl>
</div>		<div class="usermain">
			
						<div class="userright">
				<div class="mainbt">我的订单</div>		
				<div class="shop">
					<ul class="shop_b">
						<li class="shop_color">订单号</li>

						<li class="cart_much">下单时间</li>
						<li class="cart_nu">订单总金额</li>
						<li class="shop_name">订单状态</li>
						<li class="shop_oper">操作</li>
						<div class="clear"></div>
					</ul>

{foreach from=$ordersData item=val}
{counter print=false assign=i}
                    <ul class="ulcollection">
						<li class="shop_color"><a href="/index.php/Home/Member/orderdetail/orderid/{$val.orderid}" class="f6">{$val.orderid}</a></li>
						<li class="cart_much">{date('Y-m-d H:i:s',$val.btime)}</li>
						<li class="cart_nu">{$val.amount}</li>
						<li class="shop_name">
												{if $val.status==0}
													已支付，待发货
												{elseif $val.status==1}
													已支付，待接收
												{elseif $val.status==2}
													已支付，已签收
												{/if}
											
						</li>
						<li class="shop_oper"><font class="f6">删除</font></li>
						<div class="clear"></div>
					</ul>
{/foreach}
					<div class="contno" style="overflow:hidden;height:30px;">

					<div class="page">
						
<form name="selectPageForm" action="/shouji/user.php" method="get">


 <div id="page" class="pagebar">
  <span class="f_l f6" style="margin-right:10px;">总计 <b>{$i}</b>  个记录</span>
      
      </div>

</form>
<script type="Text/Javascript" language="JavaScript">
<!--

function selectPage(sel)
{
  sel.form.submit();
}

//-->
</script>
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div class="clear"></div>			
					</div>
				</div>	  
				
		<div class="clear"></div>		
	</div>
</div>

{include file='../Public/footer.tpl'}